GXX=g++
DEBUG=
TARGET_LIB=./libTcpClient.so
TARGET= client
all:
	$(GXX) $(DEBUG) -c -fPIC TCPClient.cpp
	$(GXX) $(DEBUG) -c -fPIC client.cpp
	$(GXX) $(DEBUG) -shared -fPIC -o $(TARGET_LIB) TCPClient.o
	$(GXX) $(DEBUG) -o $(TARGET) client.o $(TARGET_LIB)
clean:
	-rm -f *.o $(TARGET_LIB) $(TARGET)
